package com.chen.mapper;


import com.chen.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AdminMapper {


    //用户登录
    Admin getByUser(@Param("username") String username);

}
